/*
 *  Helper.cpp
 *  generic-genetic-algorithm
 *
 *  Created by Srđan Rašić on 12/9/11.
 *  Copyright 2011 __MyCompanyName__. All rights reserved.
 *
 */

#include "Helper.h"

std::string printVector(std::vector<double> v) {
	std::stringstream ss;
	ss << "[";
	for (int i = 0; i < v.size(); i++)
		if (i != v.size()-1)
			ss << v[i] << " ";
		else
			ss << v[i] << "]";
	
	return ss.str();
}